package com.timo.shopp.management.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.timo.shopp.common.mapper.UserMapper;
import com.timo.shopp.management.service.UserService;
import com.timo.shopp.model.User;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author timo
 * @since 2019-03-26
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Override
    public User findUserBy(Integer userId) {
        return baseMapper.selectById(userId);
    }
}
